﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/Admin.master" AutoEventWireup="true" CodeFile="accept_application.aspx.cs" Inherits="product_insurance_admin_accept_application" %>
<asp:Content ID="Content3" ContentPlaceHolderID="leftMenu" Runat="Server">
   
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="content" Runat="Server">
    <p>
        <br />
    </p>
      <asp:Repeater ID="certificate_Repeater" runat="server">
                <ItemTemplate>
    <fieldset>
        <legend>Power Saver Insurance Policy Certificate</legend>


        <table class="style1">
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style2">
                    Certificate No. :</td>
                <td class="style3">
                    <asp:Label ID="lb_certNo" runat="server" Text='<%# Bind("cetificateNo") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    Name of Policy Holder :</td>
                <td class="style3">
                    <asp:Label ID="lb_holderName" runat="server" Text='<%# Bind("custID") %>'></asp:Label>
                </td>
            </tr>
          
                    <tr>
                        <td class="style2">
                            Name of Insured :
                        </td>
                        <td class="style3">
                            <asp:Label ID="lb_insuredName" runat="server" Text='<%# Bind("fName") %>'></asp:Label>
                        </td>
                    </tr>
               
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style2">
                    Plan Type :</td>
                <td class="style3">
                    <asp:Label ID="b_planType" runat="server" Text='<%# Bind("productType") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    Category :</td>
                <td class="style3">
                    <asp:Label ID="lb_plan" runat="server" Text='<%# Bind("planType") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
           
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style2">
                    Payment Period:</td>
                <td class="style3">
                    <asp:Label ID="lb_premiumPeriod" runat="server" Text='<%# Bind("paymentPeriod") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    Premium Amount :</td>
                <td class="style3">
                    <asp:Label ID="lb_premium" runat="server" Text='<%# Bind("planType") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style2">
                    Issued by :
                </td>
                <td class="style3">
                    Power Saver Ltd</td>
            </tr>
            <tr>
                <td class="style2">
                    Staff Name:</td>
                <td class="style3">
                    <asp:Label ID="lb_staffName" runat="server" Text = ""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    Staff ID :</td>
                <td class="style3">
                    <asp:Label ID="lb_staffID" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    Date :</td>
                <td class="style3">
                    <asp:Label ID="lb_date" runat="server"></asp:Label>
                </td>
            </tr>
        </table>


    </fieldset>
     </ItemTemplate>
            </asp:Repeater>
            <table>
             <tr>
                <td class="style2">
                    Effective Date :</td>
                <td class="style3">
                    <asp:TextBox ID="tb_effectiveDate" runat="server" Text='<%# Bind("startDate") %>'></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Expiry Date :</td>
                <td class="style5">
                    <asp:TextBox ID="tb_expiryDate" runat="server" Text='<%# Bind("endDate") %>'></asp:TextBox>
                </td>
            </tr>
            </table>
    <p>
        <asp:Button ID="btnconfirm" runat="server" Text="Confirmed" OnClick="btnconfirm_Click" />
    </p>
    <p>
    </p>
 
</asp:Content>

<asp:Content ID="Content5" runat="server" contentplaceholderid="html_js">
    <script type="text/javascript">
    $(document).ready(function () {
        try {
            $("#accordion").accordion();
        } catch (e) {
            console.error(e);
        }

        try {
            $("#tabs").tabs();
        } catch (e) {
            console.error(e);
        }
    });
    </script>
    <style type="text/css">
        .style1
        {
            width: 57%;
        }
        .style2
        {
            width: 195px;
        }
        .style3
        {
            width: 351px;
        }
        .style4
        {
            width: 195px;
            height: 20px;
        }
        .style5
        {
            width: 351px;
            height: 20px;
        }
    </style>
</asp:Content>


